package com.qying.rpc.registry;

import com.qying.rpc.common.ServiceMeta;

import java.io.IOException;

public class EurekaRegistryService implements RegistryService{

    /**
     * 注册地址
     */
    private String registryAddr;

    public EurekaRegistryService(String registryAddr) {
        this.registryAddr = registryAddr;
    }

    @Override
    public void register(ServiceMeta serviceMeta) throws Exception {

    }

    @Override
    public void unRegister(ServiceMeta serviceMeta) throws Exception {

    }

    @Override
    public ServiceMeta discovery(String serviceName, int invokerHashCode) throws Exception {
        return null;
    }

    @Override
    public void destory() throws IOException {

    }
}
